package com.vgemv.jsutilitysdk.Page.JsPageGroupView;

import android.widget.FrameLayout;

public interface JsPageGroupViewCallback {
    //设置Vm
    public JsPageGroupViewVm jsPageGroupViewSetVm(JsPageGroupView groupView);

    /**
     * 为每个PageView设置内容,也可以之后每页单独添加.
     * 每页的容器是一个FrameLayout
     * @param groupView
     * @param pageViewContainer         加载PageView的容器.
     * @param index
     */
    public void jsPageGroupViewSetPageViewContent(JsPageGroupView groupView, FrameLayout pageViewContainer, int index);


    public void jsPageGroupViewScrollToNewPage(JsPageGroupView groupView, FrameLayout pageViewContainer,int index);
}
